package com.woniuxy01;

import java.math.BigInteger;
import java.util.Arrays;

/**
 * @author 作者
 * @create 2025-06-05 9:32
 */
public class Test04 {
    public static void main(String[] args) {
        long a=Long.MAX_VALUE;
        System.out.println(a);
        a+=1;
        System.out.println(a);
        BigInteger b1=new BigInteger("9223372036854775808999999");
        BigInteger b2=new BigInteger("2");
        System.out.println(b1.add(b2));
        System.out.println(b1.subtract(b2));
        System.out.println(b1.multiply(b2));
        System.out.println(b1.divide(b2));

    }
}
